dSPACE Implementation Software Service Pack November 2013 ************************************************************************** (c) Copyright 2013, dSPACE GmbH. All rights reserved. Brand names or product names are trademarks or registered trademarks of their respective companies or organizations. Contents: 1. General 2. Improvements & Fixed Problems 3. Additional Important Information 4. Installing the Service Pack 1. General ************************************************************************** This Service Pack can be installed only on an existing RCP and HIL Software Release 7.4 or Software Release 7.4 SP1 and SP2. This Service Pack contains Service Packs 1 and 2. 2. Improvements & Fixed Problems ************************************************************************** This Service Pack patches the listed products to the respective versions and fixes the problems listed below. ConfigurationDesk IMPL 4.3p3: - Fixes the issues described in KPR.2013.02.19.002: If the SCALEXIO ConfigurationDesk application contains custom property fields in the device topology, the application will be corrupted if any element is deleted and then the Undo feature is used. When the application is saved afterwards, the application file will be irreversibly destroyed. - Fixes the problem with using I/O functions in a multicore application. An application cannot be downloaded because the hardware resource mapping file was corrupted. - Fixes the problem with using engine I/O functions in a multicore application. The APU initialization leads to the real-time application crashing on the SCALEXIO System. - Fixes a problem with incorrect entries in the TRC file when Custom Functions are used with tunable parameters. - Fixes a migration problem when external loads are connected with ports of any input I/O function. Such connections cannot be restored correctly without this fix - All ConfigurationDesk functions using the digital output interface to a DS2621 channel in digital output "switch mode" in ConfigurationDesk 4.2 (or older) are incorrectly migrated to low-side switches instead of high-side switches in ConfigurationDesk 4.3. This issue is solved by the service pack. See also Additional Important Information. - Fixes a problem when performing a lot of builds, and reconfiguring or renaming some I/O functions can lead to erroneous real-time code. - Fixes a problem with restricted user rights when the Crank/CAM I/O function is used. - Properties of connector pins were changeable by mistake. - Unresolvable conflict when using external cable harness and more than three channels for voltage enhancement. - Model port blocks generated by Extend Signal Chain are generated twice by Generate Interface Model after being resolved first. - The Cancel button in a Save dialog for Custom Function Code files has no effect and the file was written anyway. - Unhandled exception when a nonexistent directory is used for the project root. ConfigurationDesk CFG 4.3p1: - Fixes the problem with diagnostic messages. The reason for a diagnostic message is now shown correctly. - Fixes the problem with monitoring the last channel of an SC AI 10/1 module. Now the signal monitoring shows the correct signal value of channel 10. DS1006 Compiler 2.2p1: - This version contains a bugfix for a linker error that occurs as soon as a function from the header is used. DSRTSU 1.8p1 (TRC generation for RTI and ConfigurationDesk): - Fixes the problem of the wrong entry being generated for a referenced model group in the TRC file. FlexRay Configuration Tool 3.0p2: - Update Communication Cluster * The project data is inconsistent when PDU timings are changed. * The project data is inconsistent when transmission modes exist. * AUTOSAR 3.2.2 is not supported. * Project cannot be updated in a particular use case. (Support Id: RTI.2013.07.17.006) - Communication Cluster Import * There is an import cancel during the optimization of absolutely scheduled timings. * Incorrect calculation of start bit position of signals within multiplexed IPDUs. - FTCom Code Generation * The generated TRC interface for FlexRay signals sent by multiple ECUs is inconsistent. * The PDU TRC Trigger interface of dynamic multiplexed TX PDUs has an unexpected behavior. * The manipulation variables from the generated TRC file are reset when the FlexRay controller is restarted, or membership is set from 0 to 1. * FRCT code generation for two-channel configurations (ChA and ChB) stops prematurely. * The generated FTCom code writes data to bytes which were not allocated correctly if the payload length of the LPDU is erroneously specified in the COM matrix used. * The PDU RX status shows "communication controller not synchronized" even when the communication controller is synchronized. * FTCom code generation stops if application tasks with several offsets are used. * FRCT code generation stops with the following message: "Code generation is incomplete. Generator: ComCodeGenerator" if the communication matrix contains a particular use case. (Support Id: RTI.2013.07.17.004) * The Simulink Build process stops with a linker error due to missing FlexRay FTCom APIs if the communication matrix contains a particular use case. (Support ID: RTI.2013.08.20.004) * Cyclic sub-PDUs are not sent with the cycle time specified in the communication matrix, but with the absolutely scheduled timing of the corresponding LPDU. * The SDF file of a real-time application that contains FRCP components might not be loadable by ControlDesk if the communication matrix contains a particular use case. (Support ID: RTI.2013.02.20.004) * Manipulating PDU update bits using the trace interface located under the TRC group "BusSystems" is not possible if the dSPACE FlexRay node is configured as the XCP master. (Support ID: RTI.2012.11.23.006) * The TX Trigger variable of static cyclic PDUs located under the TRC group "BusSystems" is not reset automatically from one to zero if the transmission mode 99 (user-defined) of the PDU is active. * Com code is not generated for XCP PDUs with cyclic timing sent in a dynamic FlexRay segment. (Support ID: RTI.2012.03.09.008) - TRC File Generation * Enable-related trace file entries are not generated for multiplexed PDUs that have only event-cyclic triggered sub-PDUs. * CRC-related trace file entries are still generated after the CRC algorithm is deselected for a configured PDU. - Project Management * Project cannot be loaded in a particular use case. (Support ID: RTI.2013.07.25.003) * Tool crashes if a project from a newer version is loaded. - GUI * Empty Com tasks are not removed after automatic task generation. * Warning message about two overlapping tasks shows only one of the related task IDs. * Message about changed hardware configuration occurs even if configuration has not been changed. * Project changes are not displayed in caption after specific general properties have been changed. Microtec PowerPC C/C++ Compiler Version 3.7.7: - The compiler now supports floating-point constants with subnormal values (smaller than 1.0e-309) by default. With the previous version of the compiler, subnormal floating-point constants could only be used once the command line parameter "-xG" ("enable GNU extensions") was explicitly set. - A bug was fixed which caused previous compiler versions to report a syntax error and to terminate whenever parentheses in path/file names (i.e. "C:\Program Files(x86)\..." were encountered in response files larger than 1900 bytes. - A bug was fixed which may occur in previous versions of the com- piler when using the "-Ox" ("enable maximum optimizations") para- meter. The bug causes the compiler to terminate showing the following error message: "Abnormal Termination due to Signal EXCEPTION_ACCESS_VIOLATION". - The behavior of the Microtec PowerPC Object Librarian (libppc) tool regarding write operations on library files was modified. The be- havior of the previous version of libppc could lead to a non- admin user's read/write permissions for an existing library file being revoked when the library file is modified by libppc whilst the user currently logged on to Windows has administrative privi- leges. The problem occurs when the output directory for the modi- fied library file is located within the same NTFS partition as the admin user's temporary files directory, to which no non-admin user has any access rights. These restrictive access permissions were erroneously applied to the modified library file, even if this file could previously be accessed by any user. RTI 6.9.1p1: - To fix the interrupt dispatch problem of an IPI block connected to DS4004 HWINT block. The problem arises when the IPI block is used in an MP system to transmit a DS4004 interrupt from one CPU to another CPU. In this case no DS4004 hardware interrupt is generated due to missing code generation for the DS4004 HWINT block. RTIBYPASS 2.9.1p1: - Performance improvements - Simulink .slx file support fix - Internal Bypass * Transpose of 2-D LUT axes by global switch * Bugfix: Reuse ECU variables of type UInt32 fix * Bugfix: Reuse ECU variables: Support for Boolean data types * Bugfix: Reuse ECU variables: Various fixes * Bugfix: Overwrite of 0xFFFFFFFF Memory area fixed - dSPACE on * * Bugfix: ECU crash with dSPACE Service >= 2.2.0 when using multiple interrupt blocks RTI CAN MultiMessage Blockset 2.7p2: - Fixes switching the simulation state several times: there is no memory allocation error any more. - Fixes selecting a cluster on the RTICANMM General Settings page. - Signal default values were possibly filled with nonnumeric characters during migration. RTI Ethernet (UDP) Blockset 1.2p1: - Fixes the interrupt transmission problem of an IPI block connected to an Ethernet UDP Interrupt block. The problem arises when the IPI block is used in an MP system to transmit an Ethernet UDP interrupt from one CPU to another CPU. In this case no Ethernet UDP interrupt is generated due to missing code generation for the Ethernet UDP Interrupt block. RTIFPGA 2.4.1: - Fixes FPGA1401Tp1 DS1552 ADCType2, delivering the value of channel 2 on channel 1. - Fixes long processing time of model update (CTRL+D) in Processor Build mode. SCALEXIO RTLIB 2.1p3 - Fixes digital output issue with DS2621 (see section 3). - Fixes for I/O function Injection/Ignition: * In certain circumstances, other I/O functions stop working on a DS2680 unit. * Fix in operation mode without capture windows * Only first APU can be used on a DS2680 unit. - Fixes to support more than 15 CAN channels - Fixes for events between I/O functions - Fixes to support latest DS2671 HW revisions - Extended RAM disk of SCALEXIO Real-Time PC to support larger applications - Fixes in RPC library - Fixes a problem with the DS2502 fan control. RTLib1005 2.11p2: - Fixes problems with updating the CAN firmware 1.7.5 of DS22xx boards (verify errors). - Fixes the problem with not receiving LIN messages after some time with DS4330 revisions 2.3 and 3.2. - Fixes the problem with the DS4201S init function overwriting the Configuration data of a second serial I/O board when it is configured to the PHS-bus address 0x20. - Fixes the problem of missing interrupts of a DS4201S board configured to The PHS-bus addresses 0x10 and 0x20. RTLib1006 2.7p2: - Fixes problems with updating CAN firmware 1.7.5 of DS22xx boards (verify errors). - Fixes the problem with not receiving LIN messages after some time with DS4330 revisions 2.3 and 3.2. - Fixes the problem with the DS4201S init function overwriting the configuration data of a second serial I/O board when it is configured to the PHS-bus address 0x20. - Fixes the problem of missing interrupts of a DS4201S board configured to PHS-bus addresses 0x10 and 0x20. - Fixes the problem with double variables which are misaligned on the stack, causing bad performance. RapidPro Firmware 2.2p1: - DS1601 Base Board FPGA firmware * Reverse Crank Mode: Fixes problems due to fast changes in the rotation speed and rotation direction. * Fixes problems with certain crank patterns due to fast changes in the rotation speed and rotation direction. 3. Additional important information ************************************************************************** ConfigurationDesk IMPL 4.3p3: Applications built with ConfigurationDesk 4.3 will change their behaviour on DS2621 high-side and low-side switched digital-out channels. The user has to check if the high-side and low-side switch function blocks are configured correctly. Note that the function blocks contain the polarity parameter, which allows an additional invertion of the signal. Note: There are changes neither for push/pull and push/pull tristate digital out function blocks nor for digital output functions assigned to DS2680 channels or DS2690 channels. Applications generated with ConfigurationDesk 4.2, which were migrated to ConfigurationDesk 4.3 prior to the installation of this service pack, must be either migrated again or adapted manually as described below. After the installation of this service pack, migrations will be performed correctly. Hints for manual adaption: 1) Identify the I/O function blocks which have been incorrectly migrated to low-side switches. The "Function Electrical Interface" table might be helpful here. 2) Select their signal-conditioning sub block 3) Change the high reference potential from "unused" to "individual" 4) Change the reference potential from "individual" to "unused". 5) Note that the read-only parameter "digital output mode" has changed to "high-side switch". 6) If there is a device mapping line on the "reference" port, it has to be moved to the "high reference" port. Note that the "reference" port will disappear after the move. 4. Installing the Service Pack ************************************************************************** To install the Service Pack, you must be logged on with administrator rights. Close all dSPACE applications and simply run 'DS_ImplSW_SP3_262547.exe'. The setup will automatically locate and patch the RCP and HIL Software Installation. **************************************************************************